package com.yunzheng.studyLeaveSystem.modules.admin.search.trueSearch.service;

import com.yunzheng.studyLeaveSystem.modules.admin.search.trueSearch.dao.Impl.ShowLeaverDaoImpl;
import com.yunzheng.studyLeaveSystem.modules.admin.search.trueSearch.dao.ShowLeaverDao;
import com.yunzheng.studyLeaveSystem.modules.admin.search.trueSearch.entity.leaver;

import java.util.List;

public class ShowLeaverService {
    public List<leaver> showInformation() throws Exception {

        ShowLeaverDao showLeaverDao = new ShowLeaverDaoImpl();


        return showLeaverDao.queryInformation();
    }
}
